//
//  Person.m
//  Copy
//
//  Created by 崔博 on 2018/9/17.
//  Copyright © 2018年 崔博. All rights reserved.
//

#import "Person.h"

@implementation Person

// copy的setter方法
- (void)setData:(NSArray *)data
{
    if (_data != data) {
        [_data release];
        _data = [data copy];
    }
}
- (void)dealloc
{
    self.data = nil;
    [super dealloc];
}
@end
